package com.tvunetworks.center.user.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @program: tvucc-user
 * @description: UserDevice
 * @author lebronchen
 * @create: 2019-03-14 11:45
 **/
@Table(name = "tvu_user_device")
@Data
@Accessors(chain = true)
public class UserDevice {

    @Id
    private String id;
    private String userId;
    private String peerId;
    private Integer postion;
    private Integer flag;   // 1 -> administrator; 0 -> show on page; 2 -> normal user  can operator
    private Integer relation; //0 non-owner default, 1 owner

}
